package cn.isaac.firstkotlin

import android.app.Application
import cn.isaac.firstkotlin.practice.DelegatesExt
import kotlin.properties.Delegates

/**
 * Created by RaoWei on 2017/5/22 16:17.
 */

class App : Application() {
    companion object {
        var instance: App by DelegatesExt.notNullSingleValue()
    }

    override fun onCreate() {
        super.onCreate()
        instance = this
    }

}